package cn.jiyun.entitty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author weiyuanhang
 * @data: 2023/8/14 001418:37
 * @Package cn.jiyun.entity
 * @email 3185757326@qq.com
 */
@Data
public class Traing {
    @TableId(value = "tid",type = IdType.AUTO)
    private Integer tid;
    private String tname;
    private Integer counts;
    private Integer status;
    private Integer cation;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
    private Integer sort;
    private Integer isdelete;
    private String img;
    private String bid;
    private String infos;
    private String menber;
    private Integer uid;
    private String region;

}
